package com.xxh.dasongapp.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import lombok.NoArgsConstructor;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="用户联合权限显示",description="用户联合权限显示")
public class UserVo implements Serializable {
    @ApiModelProperty(value = "用户id")
    private String id;

    @ApiModelProperty(value = "用户名（账号）")
    private String username;


    @ApiModelProperty(value = "昵称")
    private String name;

    @ApiModelProperty(value = "微信openid凭证")
    private String openId;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "权限编码")
    private Integer roleId;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="Asia/Shanghai")
    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="Asia/Shanghai")
    @ApiModelProperty(value = "更新时间")
    private String updateTime;


}
